home *** CD-ROM | disk | FTP | other *** search
/ Virtual Physics: The Eggs of Time / VPHYSICS The Eggs Of Time.iso / pc / files / an.dir / 00013.ls < prev    next >
Encoding:
Text File  |  1998-09-29  |  962 b   |  43 lines

  1. on exitFrame
  2.   global gLastTimeRollover, gPano, gPanoMovieID, hsID
  3.   if rollOver(5) then
  4.     if the machineType = 256 then
  5.       set result to gPano(mMouseOver)
  6.       if result <> 0 then
  7.         set hsID to item 2 of result
  8.         cursor(200)
  9.         cursor(-1)
  10.         hsBranchAN1()
  11.       else
  12.         cursor(200)
  13.         cursor(-1)
  14.         set gLastTimeRollover to 0
  15.       end if
  16.     else
  17.       PanoMovie("Direct", gPanoMovieID, "mouseOver")
  18.       if the result <> 0 then
  19.         set hsID to item 2 of the result
  20.         cursor(200)
  21.         cursor(-1)
  22.         hsBranchAN1()
  23.       else
  24.         cursor(200)
  25.         cursor(-1)
  26.         set gLastTimeRollover to 0
  27.       end if
  28.     end if
  29.   else
  30.     if gLastTimeRollover then
  31.       cursor(200)
  32.       cursor(-1)
  33.       set gLastTimeRollover to 0
  34.       if the machineType = 256 then
  35.         gPano(mIdle)
  36.       else
  37.         PanoMovie("Direct", gPanoMovieID, "idle")
  38.       end if
  39.     end if
  40.   end if
  41.   go(the frame)
  42. end
  43.